/*
 * @Description:
 * @Author: Zzt
 * @Date: 2022-12-21 13:43:55
 * @LastEditTime: 2022-12-31 09:40:15
 */

import { appState } from '@/store/mobx';
import { observer } from 'mobx-react-lite';
import { memo } from 'react';
import PageList from './PageList';
import PageOperate from './PageOperate';

const PageContent = (props: any) => {
  const { className } = props;
  const id = appState.unitId;

  return (
    <div className={className}>
      <PageOperate instructedUnitId={id} />
      <PageList instructedUnitId={id} />
    </div>
  );
};
export default memo(observer(PageContent));
